package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.CareerfairDao;
import com.bootdo.system.domain.CareerfairDO;
import com.bootdo.system.service.CareerfairService;



@Service
public class CareerfairServiceImpl implements CareerfairService {
	@Autowired
	private CareerfairDao careerfairDao;
	
	@Override
	public CareerfairDO get(Long id){
		return careerfairDao.get(id);
	}
	
	@Override
	public List<CareerfairDO> list(Map<String, Object> map){
		return careerfairDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return careerfairDao.count(map);
	}
	
	@Override
	public int save(CareerfairDO careerfair){
		return careerfairDao.save(careerfair);
	}
	
	@Override
	public int update(CareerfairDO careerfair){
		return careerfairDao.update(careerfair);
	}
	
	@Override
	public int remove(Long id){
		return careerfairDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return careerfairDao.batchRemove(ids);
	}
	
}
